Skip to content

docs(rfd): add message-scoped branch points to session/fork#941

Closed
Nemtecl wants to merge 1 commit intoagentclientprotocol:mainfrom
Nemtecl:nemtecl/vibe-825-session-fork-message-id
Closed

docs(rfd): add message-scoped branch points to session/fork#941
Nemtecl wants to merge 1 commit intoagentclientprotocol:mainfrom
Nemtecl:nemtecl/vibe-825-session-fork-message-id

Conversation

@Nemtecl
Copy link
Copy Markdown
Contributor

@Nemtecl Nemtecl commented Apr 10, 2026

Summary

  • update the session/fork RFD to propose optional messageId-scoped forks
  • gate the new request field behind session.fork.messageId
  • define fork semantics as branching immediately before the referenced message
  • tie valid anchors to acknowledged/replayed message IDs from the message-id RFD
  • clarify that support is coarse-grained and agents may still reject specific anchors

Why

session/fork currently only branches from the current session head, which is not enough for message editing or retry-from-here flows. Reusing the draft messageId work gives ACP a stable branch-point identifier without introducing index-based ambiguity.

Notes

  • This is an RFD-only proposal; no protocol schema or runtime implementation is included here.
  • This is intended to support workflows like editing a prior user message by forking immediately before that message and replaying the replacement turn.

@Nemtecl Nemtecl closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant